package com.xius.dao;
import com.xius.entity.model.Permission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/*
*
 * (SecPermission)表数据库访问层
 *
* @author makejava
* @since 2020-08-20 19:07:12
*/
@Mapper
public interface SecPermissionDao{
    List<Map<String,Object>> queryAllByLimit(Map<String,Object> map);
    int insert(Map<String,Object> map);
    int inserts(List<Map<String,Object>> list);
    Map<String,Object> queryById(Map<String,Object> map);
    int update(Map<String,Object> map);
    int deleteById(Map<String,Object> map);
    int deleteByIds(Map<String,Object> map);
    List<Map<String,Object>> queryAllJoin(Map<String,Object> map);
    List<Map<String,Object>> queryAll(Map<String,Object> map);
    List<Map<String,Object>> selectByRoleIdList(@Param("ids") List<Long> ids);
}
